<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
</body>
<script>
    //数组  引用类型  
    var arr1 = [0,1,2,3,4];
    var arr2 = arr1;
    arr1[2] = 9;
    console.log(arr2[2]);
</script>
</html>